OCAMLFLAGS = -I +lablgtk2
OCAMLLD = unix.cmxa lablgtk.cmxa -ccopt -L.
OCAMLOPT = ocamlopt

program: debug.ml aurora.ml
	${OCAMLOPT} ${OCAMLFLAGS} ${OCAMLLD} -o debug.ml arbreLex.ml aurora.ml
	${OCAMLOPT} ${OCAMLFLAGS} ${OCAMLLD} -i debug.ml > debug.mli
	${OCAMLOPT} ${OCAMLFLAGS} ${OCAMLLD} -i arbreLex.ml > arbreLex.mli
	${OCAMLOPT} ${OCAMLFLAGS} ${OCAMLLD} -i aurora.ml > aurora.mli
	rm -f *~ *.o *.cm?

clean:
	rm -f *~ *.o *.cm? *mli aurora
